package service.impl;

import pojo.User;
import service.UserService;

public class UserServiceImpl implements UserService {
    @Override
    public User getUserById(Integer id) {
        return User.builder()
                .id(id)
                .username("ego")
                .sex("male").build();
    }

    @Override
    public Integer insertUser(User user) {
        System.out.println("插入成功: " + user);
        return 1;
    }
}
